﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NET.Aop
{
    [TestClass]
    public class Main
    {
        [TestMethod]
        public void AOPTest()
        {
            var obj1 = new BaseClass();
            obj1.Call();

            Console.WriteLine("use proxy");

            var obj2 = new ProxyClass();
            obj2.Call();
        }
    }
}
